/**
 * $Id: Category.m 24 2008-01-09 07:25:37Z robertsaenz $
 */
#import "Category.h"

@implementation Category

- (id) initWithName: (NSString *) _catName andItems: (NSMutableArray *) _items {
	self = [super init];
	catName = _catName;
	items = _items;
	return self;
}

- (NSString *) getCatName {
	return catName;
}

- (NSMutableArray *) getItems {
	return items;
}

- (void) setItems: (NSMutableArray *) _items; {
	if(items) {
		[items release];
	}
	items = _items;
}

@end
